package com.wgy.designmode.action.mediator.colleague;

import com.wgy.designmode.action.mediator.mediator.Mediator;

public abstract class Colleague {

    protected Mediator mediator;

    public Colleague(Mediator mediator) {
        this.mediator = mediator;
    }

    public abstract void send(String message);
    public abstract void receive(String message);

}
